import {Entity,  Column, PrimaryGeneratedColumn} from "typeorm";
@Entity("tag")
export class TagEntity{
    @PrimaryGeneratedColumn()
    id!: number;

	@Column()
    tag_Title!: string;

    @Column()
    tag_Status!: number;

    @Column()
    tag_WatchNum!: number;

    @Column()
    tag_SubNum!: number;

    @Column()
    tag_CommentNum!: number;
    
    @Column({length:500})
    tag_Img!:string;

    @Column({length:500})
    tag_DynamicList!:string;

    @Column()
    isSub:boolean = false;

    @Column()
    tag_ClassIndex!: number;

    @Column()
    tag_Num!: number;
    
}